package com.twenty.seven.webapp.demo.controller;

import com.twenty.seven.common.ResultJson;
import com.twenty.seven.entity.TripartiteEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/platform")
public class TripartitePlatformDemo {

    /**
     *
     * @return
     */
    @RequestMapping(value = "/get",method = RequestMethod.POST)
    public ResultJson getHello(TripartiteEntity entity){
        ResultJson resultJson = new ResultJson();
        resultJson.setCode(entity.getReturnCode());
        int i = Integer.parseInt("123");
        return resultJson;
    }
}
